home *** CD-ROM | disk | FTP | other *** search
/ Aminet 6 / Aminet 6 - June 1995.iso / Aminet / dev / gcc / objam01.lha / objam / test / objamTest.m < prev    next >
Encoding:
Text File  |  1994-10-29  |  344 b   |  25 lines

  1. #include <stdio.h>
  2. #include <objc/objc.h>
  3. #include <objam/ExecList.h>
  4.  
  5.  
  6. void testexeclist(void)
  7. {
  8.   id myList;
  9.  
  10.   if(myList=[ExecList new])
  11.   {
  12.     printf("Pointer to exec list: %d\n", (int)[myList execList]);
  13.     [myList free];
  14.   }
  15.   else puts("Error creating ExecList object.");
  16.   return;
  17. }
  18.  
  19.  
  20. int main(void)
  21. {
  22.   testexeclist();
  23.   return 0;
  24. }
  25.